Problem in Third party Software (Navit) integration
Dear,
I cannot add “Navit” to my kernel (“core-image-base” or “qt4e-demo-image” ). Kernel is successfully generated. But “Navit” is not running in my kernel. How do I integrate “navit” to my kernel . Please provide the way to add “navit”.
Note: “Navit” is navigation software.
I am using yocto build system (Poky) for building “core-image-base” kernel for “am437x-evm”. Since I want to integrate “Navit” to my kernel, I have added “meta-oe” layer . “meta-oe”(jethro branch) has been downloaded from open embedded project and integrated to poky. meta-oe has “recipes-navigation”.
After that I made the following changes in “/build/conf/local.conf “ to integrate “Navit” to my kernel.
1. IMAGE_INSTALL_append = " navit" (For append Navit to my kernel ).
2. DISTRO_FEATURES_BACKFILL_CONSIDERED = " bluez5" (navit is using bluez4. For avoid conflict to blue54 and bluez5, this line is added ).
3. BBFILES+= "${HOME}/winiston/poky/meta-oe/recipes-navigation/*/*.bb"
4. MACHINE ??= "am437x-evm" (“am437x-evm” machine is selected).
bblayers.conf (/build/conf/bblayers.conf ) files as given below.
# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly LCONF_VERSION = "6"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " \
/home/winiston/poky/meta \
/home/winiston/poky/meta-yocto \
/home/winiston/poky/meta-yocto-bsp \
/home/winiston/poky/meta-ti \
/home/winiston/poky/meta-oe \
"BBLAYERS_NON_REMOVABLE ?= " \
/home/winiston/poky/meta \
/home/winiston/poky/meta-yocto \
"
#wini
BBFILES += "${HOME}/winiston/poky/meta/recipes-qt/*/*.bb" #added by hob
BBFILES += "${TOPDIR}/recipes/images/custom/*.bb" #added by hob
BBFILES += "${TOPDIR}/recipes/images/*.bb"
Please see my below command and terminal window output.
winiston@winiston-VirtualBox:~/poky$ source oe-init-build-env ### Shell environment set up for builds. ###
You can now run 'bitbake <target>'
Common targets are:
core-image-minimal
core-image-sato
meta-toolchain
adt-installer
meta-ide-support
You can also run generated qemu images with a command like 'runqemu qemux86'
winiston@winiston-VirtualBox:~/poky/build$ bitbake core-image-base Loading cache: 100% |##########################| ETA: 00:00:00 Loaded 2223 entries from dependency cache. NOTE: Resolving any missing task queue dependencies NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo) NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg NOTE: multiple providers are available for jpeg-native (jpeg-native, libjpeg-turbo-native) NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg-native
Build Configuration:
BB_VERSION = "1.28.0" BUILD_SYS = "i686-linux" NATIVELSBSTRING = "Ubuntu-14.04" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "am437x-evm" DISTRO = "poky" DISTRO_VERSION = "2.0.1" TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard cortexa9" TARGET_FPU = "vfp-neon" meta meta-yocto meta-yocto-bsp = "jethro:12fae239641cc7a72c509a1a0841ab8bb06ce7f0" meta-ti = "master:963c35fc490a733a533c0c30471f9974eed451d6" meta-oe = "jethro:12fae239641cc7a72c509a1a0841ab8bb06ce7f0"
NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 3805 tasks of which 3799 didn't need to be rerun and all succeeded.
Kernel is successfully generated. But “Navit” is not running in my kernel. How do I integrate/add “Navit” to my kernel ? should I make any other configuration and package?
Thanks in advance...
Regards,
Winiston.P
Futura Automation Pvt Ltd.
Ph :91-80-28375290 / 28375295
Fax :91-80-28375291
Quoted 4 lines · On 7 April 2016 at 08:41, <[email protected]> wrote:
Kernel is successfully generated. But “Navit” is not running in my kernel. How do I integrate/add “Navit” to my kernel ? should I make any other configuration and package?
You're not really giving much away by just saying "not running", but you may need to install more than just the navit package. Have a look at the recipe and you'll see that it generates lots of packages, you may need to install some more or even all of those.
Ross
Dear Ross,
Your question: You're not really giving much away by just saying "not running",
Answer : kernel is generated using “bitbake core-image-base” command. I extracted my kernel image to SD card and used it in my am437x-eVm board, It boots and end up with command prompt. But No GUI related to “Navit” . I wanted to get the “Navit” GUI. So I assume that it is not running.
Your question: you may need to install more than just the navit package.
Answer : I don’t have idea, what are the package I need to install and how to install? I have added IMAGE_INSTALL_append = " navit" in /build/conf/local.conf .... Do you have any procedure to install additional packages?
Your question: Have a look at the recipe and you'll see that it generates lots of packages, Answer : when I run “bitbake core-image-base” , No packages are generated it seems. But when I run “bitbake qt4e-demo-image” , Lot of packages are generated related to “navit” in /home/winiston/poky/build/tmp/sysroots/am437x-evm/pkgdata/runtime.
What are the packages I need to add ? How do I add those packages in the image?
Thanks in advance...
Regards,
Winiston.P
Futura Automation Pvt Ltd.
Ph :91-80-28375290 / 28375295
Fax :91-80-28375291
From: Burton, Ross
Sent: Thursday, April 07, 2016 2:28 PM
To: [email protected]
Cc: OpenEmbedded core ; yocto texas ; Yocto layer
Subject: Re: [OE-core] Problem in Third party Software (Navit) integration
On 7 April 2016 at 08:41, <[email protected]> wrote:
Kernel is successfully generated. But “Navit” is not running in my kernel. How do I integrate/add “Navit” to my kernel ? should I make any other configuration and package?
You're not really giving much away by just saying "not running", but you may need to install more than just the navit package. Have a look at the recipe and you'll see that it generates lots of packages, you may need to install some more or even all of those.
Ross
Quoted 7 lines · On 7 April 2016 at 10:57, <[email protected]> wrote:
Your question: You're not really giving much away by just saying "not running",
Answer : kernel is generated using “bitbake core-image-base” command. I extracted my kernel image to SD card and used it in my am437x-eVm board, It boots and end up with command prompt. But No GUI related to “Navit” . I wanted to get the “Navit” GUI. So I assume that it is not running.
core-image-base doesn't come with a GUI, so I'm not sure what you expect. If you want navit to start up on boot then that's part of the integration that you'll have to do.
Quoted 2 lines
Your question: you may need to install more than just the navit package.
Quoted 5 lines
Answer : I don’t have idea, what are the package I need to install and how to install? I have added
IMAGE_INSTALL_append= " navit" in /build/conf/local.conf .... Do you have any procedure to install additional packages?
The packages are the ones listed in the PACKAGES variable in the recipe. You install them by listing more of them in your INSTALL_IMAGE_append assignment.
Quoted 9 lines
Your question: Have a look at the recipe and you'll see that it
generates lots of packages,
Answer : when I run “bitbake core-image-base” , No packages are generated it seems. But when I run “bitbake qt4e-demo-image” , Lot of packages are generated related to “navit” in/home/winiston/poky/build/tmp/sysroots/am437x-evm/pkgdata/runtime. What are the packages I need to add ? How do I add those packages in the image?
No idea, I've never used or even look at navit before. You'll have to look at the contents of the packages to understand what is being put in what package (or just install all of them).
Ross
Quoted 2 lines
Your question: you may need to install more than just the navit package. Answer : I don’t have idea, what are the package I need to install and
how to install? I have added IMAGE_INSTALL_append = " navit" in /build/conf/local.conf .... Do you have any procedure to install additional packages?
In addition to what Ross said, quick look at the navit recipe reveals it seems to build without any graphics toolkit dependencies by default -- that probably means there's no gui by default. You will have to familiarize yourself with the build options of the program, and then set the PACKAGECONFIG that uses the options you need.
Jussi